package cn.edu.fzu.delivery.mapper;

import cn.edu.fzu.delivery.domain.entity.CourierAddress;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 快递地址管控
 *
 * @author fangxin
 * @date 2022/11/8
 */
public interface CourierAddressMapper {

    CourierAddress getById(@Param("id") Long id);


    List<Long> listIdByPhone(@Param("phone") String phone);


    void insert(@Param("courierAddress") CourierAddress address);

}
